<template>
  <div class="divBox">
    <!-- &lt;!&ndash;头部&ndash;&gt; -->
    <base-info ref="baseInfo" v-if="checkPermi(['platform:statistics:home:index'])" />
    <!--    &lt;!&ndash;小方块&ndash;&gt;-->
    <grid-menu class="mb14" />
    <!--    &lt;!&ndash; 经营数据、用户渠道 &ndash;&gt;-->
    <user-overview></user-overview>
  </div>
</template>
<script>
// +---------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +---------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------
import baseInfo from './components/baseInfo';
import gridMenu from './components/gridMenu';
import userOverview from './components/userOverview';
import { checkPermi } from '@/utils/permission'; // 权限判断函数
export default {
  name: 'Dashboard',
  components: { baseInfo, gridMenu, userOverview },
  data() {
    return {};
  },
  mounted() {},
  methods: {
    checkPermi,
  },
};
</script>
